/**
 * @projectName: com.xiayuanxing.designPattern
 * @className: Mediator
 * @author: xiayuanxing
 * @description: TODO
 * @date: 2022/1/10 16:15
 * @version: 1.0
 */
public abstract class Mediator {

    /**将给中介者，加入到集合中*/
    public abstract void Register(String colleagueName,Colleague colleague);

    /**接收消息,具体的同事对象发出*/
    public abstract void GetMessage(int stateChange,String colleagueName);

    public abstract void SendMessage();
}
